package cn.bone.web.controller;

import cn.hutool.core.net.NetUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {

    @RequestMapping("/")
    public String index(){

        String str = NetUtil.getLocalhostStr();
        return "hello world " + str;
    }
}
